package cn.qmso.wxPay.v3.paramEntity.only;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Payer {
    /**
     * 用户标识
     */
    private String openid;
    /**
     * 用户服务标识
     */
    private String sp_openid;
    /**
     * 用户子标识
     */
    private String sub_openid;

    public Payer(String openid) {
        this.openid = openid;
    }

    public Payer(String sp_openid, String sub_openid) {
        this.sp_openid = sp_openid;
        this.sub_openid = sub_openid;
    }
}